package com.hsm8;

import java.util.Map;
import java.util.TreeMap;

public class Test2 {
    public static void main(String[] args) {
        Map<String,Integer> map = new TreeMap<>();
        map.put("ahsm",1234);
        map.put("bhsm",2345);
        map.put("bhsm",5467);
        map.put("chsm",4455);
        map.put("dhsm",1235);
        System.out.println(map.size());;
        System.out.println(map);
    }
}
